import ajax from './ajax'

// 注册
export const reqRegister = (userForm) => {
  return ajax({
    url: '/register',
    method: 'post',
    data:userForm
  })
}

// 登录
export const reqLogin = (userForm) => {
  return ajax({
    url: '/login',
    method: 'post',
    data: userForm
  })
}